<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="../js/vue.min.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<input type="button" value="按钮" v-bind:title="mytitle" />
			<input type="text" v-model="msg" />
			<p>{{msg}}</p>
			<!--
				v-bind简写
			<input type="button" value="按钮" :title="mytitle" />
			-->
		</div>
		<script type="text/javascript">
			new Vue({
				el:"#app",
				data:{
					mytitle:"自定义的标题",
					msg:"aaa"
				}
			})
		</script>
	</body>
</html>
